<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$config['test'] = '';
define('UPLOAD_DIR', 'upload');
define('LIBPATH', FCPATH.'admin/libraries/');
define('PICPATH', FCPATH.'upload/pic/');
define('BASEURL',config_item('base_url'));
define('PICURL', BASEURL.'upload/pic/');

$config['editor']['upload_type'] = array('jpg','gif','png','bmp','jpeg');
$config['editor']['sizelimit'] = 1024*1024*1;
$config['editor']['maxwidth'] = 600;

$config['product']['upload_type'] = array('jpg','gif','png','bmp','jpeg');
$config['product']['sizelimit'] = 1024*1024*1;
$config['product']['maxwidth'] = 600;
$config['product']['w'] = 200;
$config['product']['h'] = 200;

//分页类配置
$config['pagination']['per_page'] = 10;
$config['pagination']['full_tag_open'] = '<div class="pagenav">';
$config['pagination']['full_tag_close'] = '</div>';
$config['pagination']['first_link'] = '首页';
$config['pagination']['last_link'] = '尾页';
$config['pagination']['next_link'] = '下一页';
$config['pagination']['prev_link'] = '上一页';
define('PAGESIZE',$config['pagination']['per_page']);
